<!DOCTYPE html>
<html lang="en">

<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <meta name="viewport"
        content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0,user-scalable=no" />
    <meta name="format-detection" content="telephone=no" />
    <meta name="format-detection" content="email=no" />
    <meta http-equiv="Pragma" content="no-cache" />
    <meta http-equiv="Cache-Control" content="no-cache" />
    <meta http-equiv="Expires" content="0" />
    <title>商品详情</title>
    <link rel="stylesheet" href="../../common/css/vant-index.css" />
	<link rel="stylesheet" href="../../common/css/swiper.min.css" /> 
	<link rel="stylesheet" href="../css/index.css" /> 
    <style rel="stylesheet">
        .swiper-container{
			width: 100%;
			height: 3.5rem;
		}
		.swiper-slide {
		  text-align: center;
		  font-size: 18px;
		  background: #fff;
		
		  /* Center slide text vertically */
		  display: -webkit-box;
		  display: -ms-flexbox;
		  display: -webkit-flex;
		  display: flex;
		  -webkit-box-pack: center;
		  -ms-flex-pack: center;
		  -webkit-justify-content: center;
		  justify-content: center;
		  -webkit-box-align: center;
		  -ms-flex-align: center;
		  -webkit-align-items: center;
		  align-items: center;
		}
    </style>
</head>

<body>
    <div id="app" v-cloak>
        <div class="container">

            <!-- <div v-if="flag == false">
                <van-empty description="当前没有服务记录" />
            </div> -->

            <div v-if="flag == true&&ShowPage">
				<div class="swiper-container">
				    <div class="swiper-wrapper">
				        <div class="swiper-slide" style="background-color: antiquewhite;">Slide 1</div>
				        <div class="swiper-slide" style="background-color: aquamarine;">Slide 2</div>
				        <div class="swiper-slide" style="background-color: black;">Slide 3</div>
				    </div>
					<div class="swiper-pagination"></div>
				</div>
					
				<div class="shadow">
					<div class="">
						
					</div>
					<div class="">
						
					</div>
					<div class="">
						
					</div>
				</div>
			</div>
        </div>
    </div>
</body>

<script src="../../common/js/rem.js"></script>
<!-- 上线环境用 -->
<script src="../../common/js/vue.global.prod.js"></script>
<!-- 引入 UI 组件库 -->
<script src="../../common/js/vant.min.js"></script>
<!-- axios 接口调用 -->
<script src="../../common/js/axios.min.js"></script>
<script src="../../base.js"></script>
<script src="../../common/js/url.min.js"></script>
<script src="../../common/js/swiper.min.js"></script>
<script type="module">
    import {
        getAction,
        postAction,
        getUrl,
        spliceUrl
    } from "../../common/js/api/vue3-axios-utils.js";

	
	  
    const PatientData = {
        data() {
            return {
                url: {
                },
                flag: true,
                ShowPage:true
            };
        },
        created() {
        	this.init()
        },
        mounted() {
			var swiper = new Swiper ('.swiper-container',{
				spaceBetween: 30,
				centeredSlides: true,
				autoplay: {
				  delay: 2500,
				  disableOnInteraction: false,
				},
				pagination: {
				  el: '.swiper-pagination',
				  clickable: true,
				},
			})
        },
        methods: {
        	async init () {
			// await this.getData()
	        },
        },
    };

    const app = Vue.createApp(PatientData);

    app.use(vant);
    app.use(vant.Lazyload);

    app.mount("#app");
</script>

</html>